fe47f2528c755d84ac2cb3f89478e55949b94396,spring-hateoas-ext/src/main/java/de/escalon/hypermedia/spring/uber/UberUtils.java,UberUtils,getModelProperty,#String#ActionDescriptor#,185

Before Change


    private static String getModelProperty(String href, ActionDescriptor actionDescriptor) {

        PartialUriTemplate uriTemplate = new PartialUriTemplate(href);
        RequestMethod httpMethod = actionDescriptor.getHttpMethod();
        final String model;
        switch (httpMethod) {
            case GET:

After Change


    private static String getModelProperty(String href, ActionDescriptor actionDescriptor) {

        PartialUriTemplate uriTemplate = new PartialUriTemplate(href);
        RequestMethod httpMethod = RequestMethod.valueOf(actionDescriptor.getHttpMethod());
        final String model;
        switch (httpMethod) {
            case GET: